# -*- coding:utf-8
'''
作者: Jia
日期: 2022年04月22日
描述: https://leetcode-cn.com/problems/richest-customer-wealth/
'''

from typing import List


class Solution:
    def maximumWealth(self, accounts: List[List[int]]) -> int:
        max_wealth = 0
        for wealth in accounts:
            max_wealth = max(max_wealth, sum(wealth))
        return max_wealth
        